From: Georges Basile Stavracas Neto Date: Thu, 3 Dec 2020 16:01:29 +0000 (-0300) Subject: appDisplay/baseAppView: Also consider its own content box when adapting X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~616^2^2~701 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9c10c34b0717423753b553aac1d508bb8522fc52;p=gnome-shell.git appDisplay/baseAppView: Also consider its own content box when adapting Otherwise setting margins and paddings from CSS may result in the grid being adapted to the wrong size. Part-of: --- diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index d1af384d1..2f82b97f4 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -848,6 +848,7 @@ var BaseAppView = GObject.registerClass({ x2: width, y2: height, }); + box = this.get_theme_node().get_content_box(box); box = this._scrollView.get_theme_node().get_content_box(box); box = this._grid.get_theme_node().get_content_box(box);